$border : #e8e8e8;
@mixin box-sizing {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
.kd-scroll-container{
    width: 100%;
    height: inherit;
    overflow: hidden;
    position: relative;
}
.kd-scroll-box{
    position: absolute;
    top: 0;
    left: 0;
    height: inherit;
    background-color: $border;
    overflow: hidden;
    &::after{
        content: '';
        display: block;
        clear: both;
    }
}
.kd-scroll-key-box{
    float: left;
    height: 100%;
}
.kd-scroll-node{
    height: inherit;
    margin: 0 1px;
    background-color: #fff;
    border: 1px solid #fff;
    .kd-temp1{
        margin: 10px 10px 35px 10px;
        overflow: hidden;
        border-radius: 5px;
        position: relative;
        img{
            height: 100%;
            display: block;
            transition: all 1s;
            &:hover{
                transform: scale(1.2,1.2);
            }
        }
        .text-shadow{
            @include box-sizing;
            width: 100%;
            position: absolute;
            bottom: 0px;
            left: 0;
            padding: 5px 10px;
            height: 2em;
            background-color: rgba($color: #000000, $alpha: .6);
            color: #fff;
            text-align: left;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .kd-temp2{
        overflow: hidden;
        .pic1{
            position: relative;
            .img{
                margin: 10px 10px 35px 10px;
                overflow: hidden;
                border-radius: 5px;
                position: relative;
                text-align: center;
                img{
                    margin: 0 auto;
                    height: 100%;
                    display: block;
                    transition: all 1s;
                    &:hover{
                        transform: scale(1.2,1.2);
                    }
                }
                .text-shadow{
                    @include box-sizing;
                    width: 100%;
                    position: absolute;
                    bottom: 0px;
                    left: 0;
                    padding: 5px 10px;
                    height: 2em;
                    background-color: rgba($color: #000000, $alpha: .6);
                    color: #fff;
                    text-align: left;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
        .pic2{
            border-top: 1px solid $border;
            position: relative;
            .img{
                margin: 10px 10px 35px 10px;
                overflow: hidden;
                border-radius: 5px;
                position: relative;
                text-align: center;
                img{
                    margin: 0 auto;
                    height: 100%;
                    display: block;
                    transition: all 1s;
                    &:hover{
                        transform: scale(1.2,1.2);
                    }
                }
                .text-shadow{
                    @include box-sizing;
                    width: 100%;
                    position: absolute;
                    bottom: 0px;
                    left: 0;
                    padding: 5px 10px;
                    height: 2em;
                    background-color: rgba($color: #000000, $alpha: .6);
                    color: #fff;
                    text-align: left;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
    }
    .main-page{
        @include box-sizing;
        padding: 35px;
        background-color: #fff;
        overflow: hidden;
        position: relative;
        height: 100%;
        text-align: center;
        .title{
            font-size: 40px;
            color: #4C84FC;
            margin-bottom: 6px;
            letter-spacing: 5px;
        }
        .day-date{
            font-size: 16px;
            line-height: 18px;
            color: #4C84FC;
        }
    }
    .sub-page{
        @include box-sizing;
        padding: 35px;
        background-color: #fff;
        overflow: hidden;
        position: relative;
        height: 100%;
        text-align: center;
        .title{
            font-size: 20px;
            color: #4C84FC;
            margin-bottom: 6px;
        }
    }
}
.kd-page-control{
    width: 100px;
    height: 10px;
    position: absolute;
    bottom: -10px;
    left: 0;
    ul{
        padding: 0;
        margin : 0;
        li{
            list-style: none;
            width: 8px;
            height: 8px;
            display: inline-block;
            border-radius: 100%;
            background: #000;
            opacity: .2;
            margin: 0 4px;
            filter: opacity(alpha=20);
            &.active{
                opacity: 1;
                filter: opacity(alpha=100);
                background: #007aff;
            }
        }
    }
}